package com.googlecode.lemyriapode.jeu;

public class Nombre extends Number {

    private final Number instance;

    public Nombre(Number instance) {
        this.instance = instance;
    }

    @Override
    public long longValue() {
        return instance.longValue();
    }

    @Override
    public int intValue() {
        return instance.intValue();
    }

    @Override
    public float floatValue() {
        return instance.floatValue();
    }

    @Override
    public double doubleValue() {
        return instance.doubleValue();
    }
}
